import {
  getHttp
} from '../ajaxData'

// 首页:查询当前公司一级节点/站点
export function getByClientOne(params) {
  const clientId = JSON.parse(localStorage.getItem('huapuauth')).deptId
  return getHttp({
    url: `/fire/nodes/getByClientOne/${clientId}`,
    data: params,
    loadMsg: '加载中',
    isload: false
  })
}
